package com.ss.tmall.service;

import com.ss.tmall.pojo.Order;
import com.sun.tools.corba.se.idl.constExpr.Or;

import java.util.List;

/**
 * @Author: ShengShuai
 * @Description:
 * @Date: Created in 下午 21:45  2017/12/28 0028
 * @Modified By:
 */
public interface OrderService {
    String waitpay="waitpay";
    String waitDelivery="waitDelivery";
    String waitConfirm="waitConfirm";
    String waitReview="waitReview";
    String finish="finish";
    String delete="delete";
    void  add(Order order);
    void  delete(int id);
    void  update(Order order);
    Order get(int id);
    List list();
}
